<?php
class book extends goods{
    public function getname(){
        echo "《{$this->name}》<br>";
    }

}
?>

